package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 判断题库对象 t_rightorwrong
 * 
 * @author ruoyi
 * @date 2020-05-09
 */
public class TRightorwrong extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 题目id */
    private Integer rightorwrongId;

    /** 管理员id */
    @Excel(name = "管理员id")
    private Integer userId;

    /** 科目名称 */
    @Excel(name = "科目名称")
    private String courseName;

    /** 科目id */
    @Excel(name = "科目id")
    private Integer courseId;
    /** 题目内容 */
    @Excel(name = "题目内容")
    private String question;

    /** 参考答案 */
    @Excel(name = "参考答案")
    private String answer;

    /** 答案分析 */
    @Excel(name = "答案分析")
    private String questionAnalyze;

    /** 题目分值 */
    @Excel(name = "题目分值")
    private Double questionScore;

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public void setRightorwrongId(Integer rightorwrongId)
    {
        this.rightorwrongId = rightorwrongId;
    }

    public Integer getRightorwrongId() 
    {
        return rightorwrongId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setQuestion(String question) 
    {
        this.question = question;
    }

    public String getQuestion() 
    {
        return question;
    }
    public void setAnswer(String answer) 
    {
        this.answer = answer;
    }

    public String getAnswer() 
    {
        return answer;
    }
    public void setQuestionAnalyze(String questionAnalyze) 
    {
        this.questionAnalyze = questionAnalyze;
    }

    public String getQuestionAnalyze() 
    {
        return questionAnalyze;
    }
    public void setQuestionScore(Double questionScore) 
    {
        this.questionScore = questionScore;
    }

    public Double getQuestionScore() 
    {
        return questionScore;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rightorwrongId", getRightorwrongId())
            .append("userId", getUserId())
                .append("courseName", getCourseName())
            .append("question", getQuestion())
            .append("answer", getAnswer())
            .append("questionAnalyze", getQuestionAnalyze())
            .append("questionScore", getQuestionScore())
            .append("createTime", getCreateTime())
                .append("courseId", getCourseId())
            .toString();
    }
}
